POV-Ray : Newsgroups : povray.unofficial.patches : mod(x,2) not liked by 0.4 : Re: mod(x,2) not liked by 0.4 Server Time
2 Sep 2024 06:18:52 EDT (-0400)
  Re: mod(x,2) not liked by 0.4  
From: Gilles Tran
Date: 26 Apr 2000 14:25:05
Message: <390734EC.48958850@inapg.inra.fr>
"Greg M. Johnson" wrote:

> The following scene bombs out with an error message:
>
> #version unofficial MegaPov 0.4
> #include "colors.inc"
> isosurface{
> //      function {pow(x,2)} also bombs out
> //      function {sin(x)}   does not bomb out.
>         function {mod(x,2)}

This is due to the fact that the functions supported in the former
isosurface patch were different from the ones in the official version
and it's still partly the case in Megapov. The list of functions
supported by function{} can be found in the Megapov doc, and at least
pow can be expressed by ^.

G.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.